package com.example.demo.crud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 实体类
 *
 * @author CustomGenerator
 * @since 2025-08-24 14:49:15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("YTH_SYS_PERSON")
@ApiModel(value = "SysPersonEntity对象", description = "")
public class SysPersonEntity extends Model<SysPersonEntity> {

    private static final long serialVersionUID = 1L;

    @TableField("ID")
    private Long id;

    @TableField("PERSON_NAME")
    private String personName;

    @TableField("ORG_CODE")
    private String orgCode;

    @TableField("PASSWORD")
    private String password;

    @TableField("ACCOUNT")
    private String account;

    @TableField("EMAIL")
    private String email;

    @TableField("SERIAL_NUMBER")
    private String serialNumber;

    @TableField("STATUS")
    private Byte status;

    @TableField("PHONENO")
    private String phoneno;

    @TableField("AREANO")
    private String areano;

    @TableField("CELLNO")
    private String cellno;

    @TableField("UPDATE_BY_ID")
    private Long updateById;

    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @TableField("CREATE_BY_ID")
    private Long createById;

    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @TableField("DELETE_FLAG")
    private Byte deleteFlag;

    @TableField("REVISION")
    private String revision;

    @TableField("FIRST_LOGIN")
    private Byte firstLogin;

    @TableField("UUID")
    private String uuid;

    @TableField("PROFILE")
    private String profile;

    @TableField("CODE")
    private String code;

    @TableField("PIN")
    private String pin;

    @TableField("UPDATE_PASS_VALID_TIME")
    private Long updatePassValidTime;

    @TableField("UID")
    private String uid;

    @TableField("UNLOCK_CODE")
    private String unlockCode;

    @TableField("IS_ENCRYPTED")
    private Byte isEncrypted;


    @Override
    public Serializable pkVal() {
        return null;
    }

}